<%@ page language="java" pageEncoding="UTF-8"%>  
<%@ taglib prefix = "c" uri="http://java.sun.com/jsp/jstl/core"%>
<%  
String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
%>  
<!DOCTYPE html>  
<html>  
<head>  
<base href="<%=basePath%>">  
</head>  
<body>  
 	<h1>用户新增/修改 页面 </h1>
 	 <form action="<%=path%>/sysmanage/user/userSave.do" method = "post">
 	 	<input type = "hidden" name = "userId" value = "${user.userId}">
 	 	<h2>用户名称:<input type = "text" name = "userName" value = "${user.userName}"></h2>
 	 	<h2>登陆名称:<input type = "text" name = "loginName" value = "${user.loginName}"></h2>
 	 	<h2>用户性别:
 	 		<select name = "sex">
 	 			<option value = "1" <c:if test="${user.sex==1}">selected</c:if>>boy</option>
 	 			<option value = "2" <c:if test="${user.sex==2}">selected</c:if>>girl</option> 	 		
 	 		</select>	 	
 	 	</h2>
 	 	<h2>用户年龄:<input type = "text" name = "age" value = "${user.age}"></h2>
 	 	<h2><input type = "submit" value = "保存">&nbsp;&nbsp;&nbsp;${updateFlag}</h2>
 	 </form>
 	 
 	 
 	 
 
 </body>   
</html>  